// export default {
// }
export const optionConfig = (safe) => {
    return {
        tabs: true,
        tabsActive: 1,
        group: [{
            label: '个人信息',
            prop: 'info',
            column: [{
                label: '头像',
                type: 'upload',
                listType: 'picture-img',
                propsHttp: {
                    res: 'data',
                    url: 'link',
                },
                canvasOption: {
                    text: ' ',
                    ratio: 0.1
                },
                action: '/api/blade-resource/oss/endpoint/put-file',
                tip: '只能上传jpg/png用户头像，且不超过500kb',
                span: 12,
                row: true,
                prop: 'avatar',
                labelWidth: 110
            }, {
                label: '姓名',
                span: 12,
                row: true,
                prop: 'realName',
                labelWidth: 110
            }, {
                label: '用户名',
                span: 12,
                row: true,
                prop: 'name',
                labelWidth: 110
            }, {
                label: '手机号',
                span: 12,
                row: true,
                prop: 'phone',
                labelWidth: 110
            }, {
                label: '邮箱',
                prop: 'email',
                span: 12,
                row: true,
                labelWidth: 110
            }
            ]
        },
        {
            label: '修改密码',
            prop: 'password',
            column: [{
                label: '原密码',
                span: 12,
                row: true,
                type: 'password',
                prop: 'oldPassword'
            }, {
                label: '新密码',
                span: 12,
                row: true,
                type: 'password',
                prop: 'newPassword'
            }, {
                label: '确认密码',
                span: 12,
                row: true,
                type: 'password',
                prop: 'newPassword1'
            }]
        }
        ],
    }
}
